package com.yanjr.modules.cms.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.yanjr.modules.cms.entity.FileTpl;

/**
 * User: songlai
 * Date: 13-8-27
 * Time: 下午4:56
 */
@Service
public interface FileTplService {

    List<String> getNameListByPrefix(String path);

    List<FileTpl> getListByPath(String path, boolean directory);

    List<FileTpl> getListForEdit(String path);

    void getAllDirectory(List<FileTpl> result, List<FileTpl> list);

    FileTpl get(String name);
}
